<template>
	<view class="container">
		<image src="/static/img/common/fail.png" mode="widthFix"></image>
		<view class="fail">
			<text>{{value}}</text>
		</view>
		<view class="btn" @click="back">
			<text>返回</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: '支付失败'
			}
		},
		onLoad(options) {
			if (options.id == 1) {
				this.value = '提现失败'
				uni.setNavigationBarTitle({
					title: '提现失败'
				});
			}
		},
		methods: {
			back() {
				uni.navigateBack({

				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.container {
		width: 100%;
		text-align: center;
	}

	image {
		width: 260upx;
		height: 260upx;
		margin: 160upx auto 30upx;
	}

	.fail {
		color: #10decd;
	}

	.btn {
		width: 60%;
		height: 90upx;
		line-height: 90upx;
		margin: 100upx auto;
		background-color: #3ebaf9;
		color: #FFFFFF;
		text-align: center;
		border-radius: 45upx;
	}
</style>
